-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address warnings #292
Address warnings #292
Conversation
…behaviour with new style numba errors
…d complex to real conversion warnings
@@ -5,7 +5,7 @@ def stokes2corr(vis_in, vis_out, policy_type): | |||
pass | |||
|
|||
|
|||
@overload(stokes2corr, inline="always") | |||
@overload(stokes2corr, inline="always", prefer_literal=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bennahugo Just letting you know that the test cases you wrote easily highlighted up the above needed change, due to the following https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-old-style-numba-captured-errors.
So the test cases were useful to have and I didn't have to understand the implementation to do the upgrade.
Tests added / passed
If the pre-commit tests fail, install and
run the pre-commit hooks in your development
virtuale environment:
Fully documented, including
HISTORY.rst
for all changesand one of the
docs/*-api.rst
files for new APITo build the docs locally:
pip install -r requirements.readthedocs.txt cd docs READTHEDOCS=True make html